<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib prefix="s" uri="/struts-tags"%>

<table class="table" id="salaryList">
    <caption><fmt:message key="salaryList.heading"/></caption>
    <thead>
        <tr>
            <th><fmt:message key="salary.initDate"/></th>
            <th><fmt:message key="salary.endDate"/></th>
            <th><fmt:message key="salary.amount"/></th>
            <th><fmt:message key="salary.state"/></th>
        </tr>
    </thead>
    <tbody>
        <tr class="odd" >
            <td><s:property value="salary.initDate" /></td>
            <td><s:property value="salary.endDate" /></td>
            <td><s:property value="salary.amount" /></td>
            <td><s:if test="salary.paged">
                    <fmt:message key="salary.allPaid"/>
                </s:if>
                <s:else>
                    <s:if test="salary.halfPay"><fmt:message key="salary.halfPay"/></s:if>
                    <s:else><fmt:message key="salary.unpaid"/></s:else>
            </s:else></td>
        </tr>
    </tbody>
    <tfoot>
        <tr><fmt:message key="asistanceControlList.link"/>: <s:property value="aCLSize" /></tr>
    </tfoot>
</table>